package controller.listeners.manualCodeCorpTest;



import model.ManualCodeCorpTestModel;

import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

import view.ManualCodeCorpTestView;

public class CorpCodeSelectionListener implements Listener {


	private ManualCodeCorpTestView _view;
	private ManualCodeCorpTestModel _model;
	
			public CorpCodeSelectionListener(ManualCodeCorpTestView view,
					ManualCodeCorpTestModel model) {
				this._model = model;
				this._view = view;
			}
			
			public void handleEvent(Event event) {
				String center_code = _view.getSelectedCorpCode();
				_model.setSelected_center_code(center_code);
			}
		}